package com.angzh.bolibao.config;


import weixin.WeixinController;

import com.angzh.bolibao.controller.CommissionController;
import com.angzh.bolibao.controller.CustomerController;
import com.angzh.bolibao.controller.UserController;
import com.jfinal.config.Routes;
import com.jfinal.weixin.demo.WeixinApiController;
import com.jfinal.weixin.demo.WeixinMsgController;

/**
 * 
 * @author yangsl
 * @description  配置路由
 * 
 * **/
public class RootRoute extends Routes{

	@Override
	public void config() {
		add("/",UserController.class);
		add("/user", UserController.class);
		add("/commission",CommissionController.class);
		add("/customer",CustomerController.class);
		add("/weixin",WeixinController.class);
		add("/msg", WeixinMsgController.class);
		add("/api", WeixinApiController.class, "/api");
	}


}
